package com.cristina.attention.pending;

import org.springframework.stereotype.Component;

import javax.annotation.Resource;
import java.util.concurrent.ExecutorService;

/**
 * @author by superman
 */
@Component
public class ImTaskPendingHolder {

    @Resource
    private Holder holder;

    public ExecutorService route(String groupId) {
        return holder.getTaskPendingHolder().get(groupId);
    }

}
